

var Setting  = {
    
    overItem : function(objMe){
		Setting.onSettingMouseOver(objMe);
        var i = 3;
        if(navigator.appVersion.indexOf("MSIE") != -1 && (objMe.childNodes[i] == undefined || objMe.childNodes[i].style == null)){
            i = 2;
        }
        i = i-2;
        if(objMe.childNodes[i] != undefined){
            objMe.childNodes[i].style.display = "";
        }

    },

    outItem : function(objMe){
		Setting.onSettingMouseOut(objMe);
        var i = 3;
        if(navigator.appVersion.indexOf("MSIE") != -1 && (objMe.childNodes[i] == undefined || objMe.childNodes[i].style == null)){
            i = 2;
        }
        i = i-2;
        if(objMe.childNodes[i] != undefined){
            objMe.childNodes[i].style.display = "none";
        }
    },
	
	onSettingMouseOver:function(objMe){},
    onSettingMouseOut:function(objMe){}
};

var Page = {
    load:function(){},
	resize:function(){}
};


var Navigation = {
    
    id:"navigation",
    
    hide:function(){
        var navigation = document.getElementById(Navigation.id);
        navigation.style.display = "none";
        document.getElementById(Panel.id).style.marginLeft   = 0+"px";
    },
    
    show:function(){
        var navigation = document.getElementById(Navigation.id);
        navigation.style.display = "";
        document.getElementById(Panel.id).style.marginLeft   = Panel.getMarginleft();
    }
    
};


var Panel = {
    id:"panel",
    marginLeft : "250",
    getMarginleft:function(){
        return Panel.marginLeft;
    },
    hide:function(){
        var panel = document.getElementById(Panel.id);
        panel.style.display = "none";
    },
    
    show:function(){
        var panel = document.getElementById(Panel.id);
        panel.style.display = "";
    }
    
};

